package com.yang.designmode.ActionMode.state;

public class ConcreteStateA implements State {
    @Override
    public void handle(Context context) {
        System.out.println("当前状态为 A，执行操作...");
        context.setState(new ConcreteStateB());
    }
}